package ru.cybertek.dao;


import java.util.List;
import ru.cybertek.domain.Company;

public interface CompanyDao 
{
	
	/**
	 * Save or edit Company in the db
	 * 
	 * @param Company - company to save/edit
	 */
	public void saveCompany(Company company);
	
	/**
	 * Delete Company from db
	 * 
	 * @param id - id of the company to delete
	 */
	public void deleteCompany(Integer id);
	
	/**
	 * Get company information by id
	 * 
	 * @param id - record id of the company in the db
	 * @return Company
	 */
	public Company getCompany(Integer id);
	
	/**
	 * Make list of all companies
	 * 
	 * @return List of <Company> 
	 */
	public List<Company> getCompanyList();
	
	
}
